/**
 * 
 */
package com.weblists.commands;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Stephen Jennings
 * 
 */
public class LoginCommand implements Command {

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.weblists.commands.Command#process(javax.servlet.http.HttpServletResponse
	 * )
	 */
	public void process(HttpServletRequest req, HttpServletResponse resp) {
		try {
			// Try to get the user object from the data-store.
			resp.sendRedirect("main.jsp");
		} catch (IOException e) {
			e.printStackTrace();
		}

	}

}
